package com.dykj.fireFighting.api.base.emergency.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * @Description 应急预案新版
 * @Author JacksonTu
 * @Date 2021-08-26 14:40:38
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "应急预案新版")
@TableName("emergency_plan_two")
public class EmergencyPlanTwo extends Model<EmergencyPlanTwo> {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ApiModelProperty(value = "id")
    @TableId
    private String id;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    @TableField("create_by")
    private String createBy;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;
    /**
     * 删除标识 0已删除 1未删除
     */
    @ApiModelProperty(value = "删除标识 0已删除 1未删除")
    @TableField("is_del")
    private Integer isDel;
    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    @TableField("update_by")
    private String updateBy;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @TableField("update_time")
    private Date updateTime;
    /**
     * 单位id
     */
    @ApiModelProperty(value = "单位id")
    @TableField("unit_id")
    private String unitId;

    @ApiModelProperty(value = "单位")
    @TableField("unit_name")
    private String unitName;
    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;
    /**
     * 文件id
     */
    @ApiModelProperty(value = "文件id")
    @TableField("file_id")
    private String fileId;
    /**
     * 类型  取字典表
     */
    @ApiModelProperty(value = "类型  取字典表")
    private String type;
    /**
     * 内容
     */
    @ApiModelProperty(value = "内容")
    private String content;
    /**
     * 属地（字典表）
     */
    @ApiModelProperty(value = "属地（字典表）")
    private String shudi;
    /**
     * 点击率
     */
    @ApiModelProperty(value = "点击率")
    private String dianjilv;
    /**
     * 周边水源
     */
    @ApiModelProperty(value = "周边水源")
    private String zbsy;
    /**
     * 楼栋id
     */
    @ApiModelProperty(value = "楼栋id")
    @TableField("building_id")
    private String buildingId;
    /**
     * 分数
     */
    @ApiModelProperty(value = "分数")
    @TableField("score")
    private Integer score;
    /**
     * 0通过  1未通过
     */
    @ApiModelProperty(value = "0通过  1未通过")
    @TableField("status")
    private Integer status;

    @TableField(exist = false)
    private String fileName;
}
